/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package elektra;

/**
 *
 * @author adee
 */
public class MessageNormaliser {
    public String normaliseMessage(String message){
        String result = message.toLowerCase().trim();
        result=result.replace(":)","");
        result=result.replace(":d","");
        result=result.replace(":dd","");
        result=result.replace(":ddd","");
        result=result.replace(":dddd","");
        result=result.replace(":ddddd","");
        result=result.replace(":(","");
        result=result.replace(":","");
        result=result.replace(")","");
        result=result.replace("(","");
        return result.trim();
    }
}
